/*!
 *   AdminLTE v2.1.0
 *   Author: Almsaeed Studio
 *	 Website: Almsaeed Studio <http://almsaeedstudio.com>
 *   License: Open source - MIT
 *           Please visit http://opensource.org/licenses/MIT for more information
!*/
/*
 * Core: Genral Layout Style
 * -------------------------
 */
html {
	-ms-touch-action: none;
}
body {
	padding: 0;
	margin: 0;
	border: 0;
	font-family: font-family:arial, 'Hiragino Sans GB', 'Microsoft Yahei', '微软雅黑', '宋体', \5b8b\4f53, Tahoma, Arial, Helvetica, STHeiti;
	font-weight: 400;
	overflow: hidden;	
}

.header {
	position: absolute;
	z-index: 2;
	top: 0;
	left: 0;
	width: 100%;
	padding: 10px;
	border-top:3px solid #f39c12;
	border-bottom:1px solid #f4f4f4;
}
.header .header-title {
    display: inline-block;
    font-size: 18px;
    line-height: 1;
    margin: 0;
}
.header .header-tools {
    position: absolute;
    right: 10px;
    top: 5px;
}
.pull-right {
	float:right;
}

.main-content{
	position: absolute;
	width:100%;
	overflow: hidden;
	top: 45px;
	left: 0;
	bottom: 48px;
}
.main-content .box-body {
	position: absolute;
	width:100%;
	z-index: 1;
	-webkit-tap-highlight-color: rgba(0,0,0,0);
	-webkit-transform: translateZ(0);
	-moz-transform: translateZ(0);
	-ms-transform: translateZ(0);
	-o-transform: translateZ(0);
	transform: translateZ(0);
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	-webkit-text-size-adjust: none;
	-moz-text-size-adjust: none;
	-ms-text-size-adjust: none;
	-o-text-size-adjust: none;
	text-size-adjust: none;
}

.main-content .box-body.chat {
	padding:0px 5px;
}
.main-content .loading-box {
	display:none;
}
.main-content .loading-box p{
	font-size:12px;
}

.chat {
    padding: 5px 20px 5px 10px;
}
.chat .item {
    margin-bottom: 10px;
}
.chat .item:before, .chat .item:after {
    content: " ";
    display: table;
}
.chat .item:after {
    clear: both;
}
.chat .item > img {
    border: 2px solid transparent;
    border-radius: 50% !important;
    height: 40px;
    width: 40px;
}
.chat .item > img.online {
    border: 2px solid #00a65a;
}
.chat .item > img.offline {
    border: 2px solid #dd4b39;
}
.chat .item > .message {
    margin-bottom: 0;
    margin-left: 52px;
    margin-top: -40px;
}
.chat .item > .message > .name {
    display: block;
    font-size: 12px;
}

.direct-chat-text {
    background: none repeat scroll 0 0 #d2d6de;
    border: 1px solid #d2d6de;
    border-radius: 5px;
    color: #444444;
    margin: 5px 0 0 50px;
    min-height: 30px;
    padding: 5px 10px;
    position: relative;
}
.direct-chat-text:after, .direct-chat-text:before {
    -moz-border-bottom-colors: none;
    -moz-border-left-colors: none;
    -moz-border-right-colors: none;
    -moz-border-top-colors: none;
    border-color: transparent #d2d6de transparent transparent;
    border-image: none;
    border-style: solid;
    border-width: medium;
    content: " ";
    height: 0;
    pointer-events: none;
    position: absolute;
    right: 100%;
    top: 15px;
    width: 0;
}
.direct-chat-text:after {
    border-width: 5px;
    margin-top: -5px;
}
.direct-chat-text:before {
    border-width: 6px;
    margin-top: -6px;
}
.right .direct-chat-text {
    margin-left: 0;
    margin-right: 50px;
}

.footer {
    background-color: #ffffff;
    border-radius: 0 0 3px 3px;
    border-top: 1px solid #f4f4f4;
    bottom: 0;
    left: 0;
    padding: 10px;
    position: absolute;
    width: 100%;
    z-index:2;
}




